package com.bing.utils;

import org.springframework.beans.factory.annotation.Value;

/**
 * Created by kaibb on 2014/12/6.
 */
public interface Constant {
    String WEIXIN_ACCESS_TOKEN = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s";

    String WEIXIN_CREATE_MENU = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=%s";//创建微信菜单

    String WEIXIN_GET_MENU = "https://api.weixin.qq.com/cgi-bin/menu/get?access_token=%s";//获取微信菜单

    String WEIXIN_DELETE_MENU = "https://api.weixin.qq.com/cgi-bin/menu/delete?access_token=%s";//删除微信菜单


    String LOGGER_FORMAT = "-------------";
    final String LIAN = ":";
    String YIXIN_CREATE_MENU = ""; //创建易信菜单;

    String YIXIN_GET_MENU = ""; //获取易信菜单;

    String YIXIN_DELETE_MENU = "";//删除易信菜单

    @Value("${website:http://localhost/}")
    String website = "http://localhost/";

    String WEIXIN_USER = "https://api.weixin.qq.com/cgi-bin/user/get?access_token=%s&next_openid=%s"; //获取微信用户

    String YIXIN_USER = "https://api.weixin.qq.com/cgi-bin/user/get?access_token=%s&next_openid=%s"; //获取微信用户


    int FAILED = 0; //失败
}
